#!/usr/bin/python
import numpy as np
import matplotlib.pyplot as plt

plt.axis([0, 100, 0, 1])
plt.ion()

for i in range(100):
	y = np.random.random()
	#plt.scatter(i, y)
	plt.plot([i,y%100],[y%100,i],'r-')
	plt.pause(0.1)

